[INFO] cloning repository https://github.com/otabek05/coremq-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/otabek05/coremq-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotabek05%2Fcoremq-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotabek05%2Fcoremq-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ef67625168e666f985f9caecdff8c47e05b9c405
[INFO] testing otabek05/coremq-rust against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotabek05%2Fcoremq-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/otabek05/coremq-rust
[INFO] finished tweaking git repo https://github.com/otabek05/coremq-rust
[INFO] tweaked toml for git repo https://github.com/otabek05/coremq-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/otabek05/coremq-rust on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/otabek05/coremq-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c5d341235fd9da53eb51d696cbbaf97e22d7c08a3dce9f85fd77212deb1dc13
[INFO] running `Command { std: "docker" "start" "-a" "0c5d341235fd9da53eb51d696cbbaf97e22d7c08a3dce9f85fd77212deb1dc13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c5d341235fd9da53eb51d696cbbaf97e22d7c08a3dce9f85fd77212deb1dc13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c5d341235fd9da53eb51d696cbbaf97e22d7c08a3dce9f85fd77212deb1dc13", kill_on_drop: false }`
[INFO] [stdout] 0c5d341235fd9da53eb51d696cbbaf97e22d7c08a3dce9f85fd77212deb1dc13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 265c5ba5383a017cb32ef9b0a1264ee42198ab473f72bb97757650caca095e3f
[INFO] running `Command { std: "docker" "start" "-a" "265c5ba5383a017cb32ef9b0a1264ee42198ab473f72bb97757650caca095e3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rhai_codegen v3.1.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling redb v2.6.3
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling simple_asn1 v0.6.4
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling thin-vec v0.2.14
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rhai v1.24.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling casbin v2.20.0
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling coremq-server v0.1.0 (/opt/rustwide/workdir/server/coremq-server)
[INFO] [stdout] warning: unused imports: `self` and `user`
[INFO] [stdout]  --> server/coremq-server/src/services/jwt.rs:4:70
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{enums::{jwt::JwtType, role::RoleType}, models::{claims::{self, Claims}, config, login::Token, user}};
[INFO] [stdout]   |                                                                      ^^^^                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Router` and `routing::get`
[INFO] [stdout]   --> server/coremq-server/src/main.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::{Router, routing::get};
[INFO] [stdout]    |            ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::SocketAddr`
[INFO] [stdout]   --> server/coremq-server/src/main.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::{net::SocketAddr, sync::{Arc, atomic::AtomicU16}};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self`, `tcp::tcp_connection`, and `ws::ws_handler`
[INFO] [stdout]   --> server/coremq-server/src/main.rs:17:168
[INFO] [stdout]    |
[INFO] [stdout] 17 | ...ice, jwt::{self, JwtService}}, storage::redb::Storage, transport::{ProtocolState, tcp::tcp_connection, ws::ws_handler}
[INFO] [stdout]    |               ^^^^                                                                   ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_qos`
[INFO] [stdout]   --> server/coremq-server/src/protocol/decoder.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let will_qos      = (connect_flags & 0b0001_1000) >> 3;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_qos`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_retain`
[INFO] [stdout]   --> server/coremq-server/src/protocol/decoder.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let will_retain   = (connect_flags & 0b0010_0000) != 0;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_retain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_topic`
[INFO] [stdout]   --> server/coremq-server/src/protocol/decoder.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let will_topic = if will_flag {
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_topic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_message`
[INFO] [stdout]    --> server/coremq-server/src/protocol/decoder.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let will_message = if will_flag {
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> server/coremq-server/src/enums/protocol.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ProtocolType {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 13 |     pub fn as_str(&self) -> &'static str  {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StopListener` is never constructed
[INFO] [stdout]   --> server/coremq-server/src/models/config/listener.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct  StopListener {
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `search` is never read
[INFO] [stdout]  --> server/coremq-server/src/models/api/session_query.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SessionQuery {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub search: Option<String>, // optional search term
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SessionQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReDB` is never constructed
[INFO] [stdout]  --> server/coremq-server/src/pkg/db.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ReDB {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> server/coremq-server/src/pkg/db.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ReDB {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(path: &str) -> anyhow::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `password` is never read
[INFO] [stdout]   --> server/coremq-server/src/protocol/packets.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct ConnectPacket {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub password: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectPacket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete` is never used
[INFO] [stdout]   --> server/coremq-server/src/storage/redb/user.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl UserRepo {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn delete(&self, username: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 26s
[INFO] running `Command { std: "docker" "inspect" "265c5ba5383a017cb32ef9b0a1264ee42198ab473f72bb97757650caca095e3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "265c5ba5383a017cb32ef9b0a1264ee42198ab473f72bb97757650caca095e3f", kill_on_drop: false }`
[INFO] [stdout] 265c5ba5383a017cb32ef9b0a1264ee42198ab473f72bb97757650caca095e3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd2f2239e9a251bb4577cf2a1f08a24f67cce4b8ed2bc2e25a6f575ec889d02b
[INFO] running `Command { std: "docker" "start" "-a" "dd2f2239e9a251bb4577cf2a1f08a24f67cce4b8ed2bc2e25a6f575ec889d02b", kill_on_drop: false }`
[INFO] [stderr]    Compiling coremq-server v0.1.0 (/opt/rustwide/workdir/server/coremq-server)
[INFO] [stdout] warning: unused imports: `self` and `user`
[INFO] [stdout]  --> server/coremq-server/src/services/jwt.rs:4:70
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{enums::{jwt::JwtType, role::RoleType}, models::{claims::{self, Claims}, config, login::Token, user}};
[INFO] [stdout]   |                                                                      ^^^^                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Router` and `routing::get`
[INFO] [stdout]   --> server/coremq-server/src/main.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::{Router, routing::get};
[INFO] [stdout]    |            ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::SocketAddr`
[INFO] [stdout]   --> server/coremq-server/src/main.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::{net::SocketAddr, sync::{Arc, atomic::AtomicU16}};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self`, `tcp::tcp_connection`, and `ws::ws_handler`
[INFO] [stdout]   --> server/coremq-server/src/main.rs:17:168
[INFO] [stdout]    |
[INFO] [stdout] 17 | ...ice, jwt::{self, JwtService}}, storage::redb::Storage, transport::{ProtocolState, tcp::tcp_connection, ws::ws_handler}
[INFO] [stdout]    |               ^^^^                                                                   ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_qos`
[INFO] [stdout]   --> server/coremq-server/src/protocol/decoder.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let will_qos      = (connect_flags & 0b0001_1000) >> 3;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_qos`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_retain`
[INFO] [stdout]   --> server/coremq-server/src/protocol/decoder.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let will_retain   = (connect_flags & 0b0010_0000) != 0;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_retain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_topic`
[INFO] [stdout]   --> server/coremq-server/src/protocol/decoder.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let will_topic = if will_flag {
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_topic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `will_message`
[INFO] [stdout]    --> server/coremq-server/src/protocol/decoder.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let will_message = if will_flag {
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> server/coremq-server/src/enums/protocol.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ProtocolType {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 13 |     pub fn as_str(&self) -> &'static str  {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StopListener` is never constructed
[INFO] [stdout]   --> server/coremq-server/src/models/config/listener.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct  StopListener {
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `search` is never read
[INFO] [stdout]  --> server/coremq-server/src/models/api/session_query.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SessionQuery {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub search: Option<String>, // optional search term
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SessionQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReDB` is never constructed
[INFO] [stdout]  --> server/coremq-server/src/pkg/db.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ReDB {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> server/coremq-server/src/pkg/db.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ReDB {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(path: &str) -> anyhow::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `password` is never read
[INFO] [stdout]   --> server/coremq-server/src/protocol/packets.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct ConnectPacket {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub password: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectPacket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete` is never used
[INFO] [stdout]   --> server/coremq-server/src/storage/redb/user.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl UserRepo {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn delete(&self, username: &str) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.50s
[INFO] running `Command { std: "docker" "inspect" "dd2f2239e9a251bb4577cf2a1f08a24f67cce4b8ed2bc2e25a6f575ec889d02b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd2f2239e9a251bb4577cf2a1f08a24f67cce4b8ed2bc2e25a6f575ec889d02b", kill_on_drop: false }`
[INFO] [stdout] dd2f2239e9a251bb4577cf2a1f08a24f67cce4b8ed2bc2e25a6f575ec889d02b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 99ce5b72ae764495333d57158850501197eb9ccd2bc7580bc1ac5b12f41c785f
[INFO] running `Command { std: "docker" "start" "-a" "99ce5b72ae764495333d57158850501197eb9ccd2bc7580bc1ac5b12f41c785f", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `self` and `user`
[INFO] [stderr]  --> server/coremq-server/src/services/jwt.rs:4:70
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::{enums::{jwt::JwtType, role::RoleType}, models::{claims::{self, Claims}, config, login::Token, user}};
[INFO] [stderr]   |                                                                      ^^^^                                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Router` and `routing::get`
[INFO] [stderr]   --> server/coremq-server/src/main.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | use axum::{Router, routing::get};
[INFO] [stderr]    |            ^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `net::SocketAddr`
[INFO] [stderr]   --> server/coremq-server/src/main.rs:13:11
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::{net::SocketAddr, sync::{Arc, atomic::AtomicU16}};
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `self`, `tcp::tcp_connection`, and `ws::ws_handler`
[INFO] [stderr]   --> server/coremq-server/src/main.rs:17:168
[INFO] [stderr]    |
[INFO] [stderr] 17 | ...ice, jwt::{self, JwtService}}, storage::redb::Storage, transport::{ProtocolState, tcp::tcp_connection, ws::ws_handler}
[INFO] [stderr]    |               ^^^^                                                                   ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `will_qos`
[INFO] [stderr]   --> server/coremq-server/src/protocol/decoder.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let will_qos      = (connect_flags & 0b0001_1000) >> 3;
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_qos`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `will_retain`
[INFO] [stderr]   --> server/coremq-server/src/protocol/decoder.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |     let will_retain   = (connect_flags & 0b0010_0000) != 0;
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_retain`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `will_topic`
[INFO] [stderr]   --> server/coremq-server/src/protocol/decoder.rs:86:9
[INFO] [stderr]    |
[INFO] [stderr] 86 |     let will_topic = if will_flag {
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_topic`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `will_message`
[INFO] [stderr]    --> server/coremq-server/src/protocol/decoder.rs:102:9
[INFO] [stderr]     |
[INFO] [stderr] 102 |     let will_message = if will_flag {
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_will_message`
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> server/coremq-server/src/enums/protocol.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl ProtocolType {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] 13 |     pub fn as_str(&self) -> &'static str  {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StopListener` is never constructed
[INFO] [stderr]   --> server/coremq-server/src/models/config/listener.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct  StopListener {
[INFO] [stderr]    |             ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `search` is never read
[INFO] [stderr]  --> server/coremq-server/src/models/api/session_query.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct SessionQuery {
[INFO] [stderr]   |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 7 |     pub search: Option<String>, // optional search term
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `SessionQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ReDB` is never constructed
[INFO] [stderr]  --> server/coremq-server/src/pkg/db.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct ReDB {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> server/coremq-server/src/pkg/db.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl ReDB {
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] 11 |     pub fn new(path: &str) -> anyhow::Result<Self> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `password` is never read
[INFO] [stderr]   --> server/coremq-server/src/protocol/packets.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr]  5 | pub struct ConnectPacket {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub password: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ConnectPacket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `delete` is never used
[INFO] [stderr]   --> server/coremq-server/src/storage/redb/user.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl UserRepo {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub fn delete(&self, username: &str) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `coremq-server` (bin "coremq-server" test) generated 15 warnings (run `cargo fix --bin "coremq-server" -p coremq-server --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/coremq_server-0b659613e7b42238)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "99ce5b72ae764495333d57158850501197eb9ccd2bc7580bc1ac5b12f41c785f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99ce5b72ae764495333d57158850501197eb9ccd2bc7580bc1ac5b12f41c785f", kill_on_drop: false }`
[INFO] [stdout] 99ce5b72ae764495333d57158850501197eb9ccd2bc7580bc1ac5b12f41c785f
